package cn.itcast.service;

import cn.itcast.domain.dto.ChatDTO;
import reactor.core.publisher.Flux;

public interface ChatService {
    /**
     * 普通对话
     *
     * @param question
     * @return
     */
    String chat(ChatDTO chatDTO);

    /**
     * 流式对话
     *
     * @param question
     * @return
     */
    Flux<String> chatStream(ChatDTO chatDTO);
}
